package cn.tedu.medicalpath.attendance.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Attendance {
    @ApiModelProperty(value = "就诊记录表ID")
    private Long id;
    @ApiModelProperty(value = "患者ID，关联到患者信息表")
    private Long patientId;
    @ApiModelProperty(value = "医生ID，关联到医生信息表")
    private Long doctorId;
    @ApiModelProperty(value = "就诊状态")
    private String status;
    @ApiModelProperty(value = "就诊类型，“10”初诊，”20“复诊")
    private String type;
    @ApiModelProperty(value = "检查单ID")
    private Long inspectionId;
    @ApiModelProperty(value = "处方单ID")
    private Long prescriptionId;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "备注，如退号原因")
    private String remark;
}
